import javax.swing.*;

public class ShowCurrentTime {
    public static void main(String[] args) {
        long totalMilliseconds = System.currentTimeMillis();
        long totalSeconds = totalMilliseconds / 1000;
        JOptionPane.showMessageDialog(null, (totalMilliseconds / 1000) / 60 / 60 % 24 + 3 + " :: " 
                + (totalMilliseconds / 1000) / 60 % 60 + " :: " + (totalMilliseconds / 1000) % 60,
                "Pareizs laiks", JOptionPane.INFORMATION_MESSAGE);
    }
}